home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / pcboard / dt_syc12.zip / 12.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-05-03  |  2KB  |  135 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     String   STRING001
  21.     String   STRING002
  22.     String   STRING003
  23.     String   TSTRING004(20)
  24.  
  25. ;------------------------------------------------------------------------------
  26.  
  27.     STRING001 = TokenStr()
  28.     If (Exist(PPEPath() + "PASSWRDS.DAT")) Goto LABEL001
  29.     Newline
  30.     PrintLn "@BEEP@@X0CWHAT HAVE U DONE WiTH THE FiLE 'PASSWRDS.DAT' ?"
  31.     Print "@X0CiT MUST BE iN THE SAME DiRECTORY WHERE THE SYSCMDS ARE !"
  32.     End
  33.     :LABEL001
  34.     INTEGER001 = 1
  35.     FOpen 2, PPEPath() + "PASSWRDS.DAT", 0, 0
  36.     :LABEL002
  37.     If (Ferr(2)) Goto LABEL003
  38.     FGet 2, TSTRING004(INTEGER001)
  39.     If (TSTRING004(INTEGER001) == "<EOP>") Goto LABEL003
  40.     Inc INTEGER001
  41.     Goto LABEL002
  42.     :LABEL003
  43.     FClose 2
  44.     FOpen 2, "PCBOARD.SYS", 0, 0
  45.     FSeek 2, 18, 1
  46.     FRead 2, STRING003, 5
  47.     FClose 2
  48.     If (Upper(STRING003) == "LOCAL") Goto LABEL008
  49.     If (Upper(STRING001) == Upper(TSTRING004(1))) Goto LABEL009
  50.     INTEGER001 = 0
  51.     :LABEL004
  52.     STRING002 = ""
  53.     Newline
  54.     InputStr "@X0FG@X07i@X08MME FiRST THE PASSWOR@X07D @X0F", STRING002, 8, 20, Mask_Ascii(), 1
  55.     Inc INTEGER001
  56.     If (INTEGER001 >= 3) Goto LABEL006
  57.     If (Upper(STRING002) == Upper(TSTRING004(1))) Goto LABEL007
  58.     If (Upper(STRING002) == "") End
  59.     If (Upper(STRING002) <> Upper(TSTRING004(1))) Goto LABEL005
  60.     Goto LABEL004
  61.     :LABEL005
  62.     Newlines 2
  63.     PrintLn "@X0CWELL ... WHAT NOW ? THAT WASN'T THE RiGHT ONE !"
  64.     Goto LABEL004
  65.     :LABEL006
  66.     Newlines 2
  67.     PrintLn "@X0CHEJ MAN ! iF YOU DON'T KNOW THE PASSWORD - WHY DO YA TRY !?"
  68.     End
  69.     :LABEL007
  70.     KbdStuff "12 " + STRING001 + Chr(13)
  71.     Newline
  72.     End
  73.     :LABEL008
  74.     KbdStuff "12 " + STRING001 + Chr(13)
  75.     End
  76.     :LABEL009
  77.     KbdStuff "12 " + Chr(13)
  78.     End
  79.  
  80. ;------------------------------------------------------------------------------
  81. ;
  82. ; Usage report (before postprocessing)
  83. ;
  84. ; ■ Statements used :
  85. ;
  86. ;    6       End
  87. ;    11      Goto 
  88. ;    4       Let 
  89. ;    1       Print 
  90. ;    3       PrintLn 
  91. ;    9       If 
  92. ;    2       FOpen 
  93. ;    2       FClose 
  94. ;    1       FGet 
  95. ;    1       InputStr 
  96. ;    2       Inc 
  97. ;    3       Newline
  98. ;    2       Newlines 
  99. ;    3       KbdStuff 
  100. ;    1       FSeek 
  101. ;    1       FRead 
  102. ;
  103. ;
  104. ; ■ Functions used :
  105. ;
  106. ;    7       +
  107. ;    5       ==
  108. ;    1       <>
  109. ;    1       >=
  110. ;    2       !
  111. ;    8       Upper()
  112. ;    1       Ferr()
  113. ;    3       Chr()
  114. ;    1       Mask_Ascii()
  115. ;    2       PPEPath()
  116. ;    1       Exist()
  117. ;    1       TokenStr()
  118. ;
  119. ;------------------------------------------------------------------------------
  120. ;
  121. ; Analysis flags : No flag
  122. ;
  123. ;------------------------------------------------------------------------------
  124. ;
  125. ; Postprocessing report
  126. ;
  127. ;    0       For/Next
  128. ;    0       While/EndWhile
  129. ;    0       If/Then or If/Then/Else
  130. ;    0       Select Case
  131. ;
  132. ;------------------------------------------------------------------------------
  133. ;                 AEGiS Corp - Break the routines, code against the machines!
  134. ;------------------------------------------------------------------------------
  135.